package com.kly.user.db.dao;
import com.fqgj.common.base.BaseMapper;
import com.kly.user.db.entity.TrafficModelPoolEntity;

import java.util.List;

/**
* User: yujianfu
* Date: 2024-01-11
* Time: 22:09:30.560
*/

public interface TrafficModelPoolDao  extends BaseMapper<TrafficModelPoolEntity> {

    void refreshAllData(String activeChatTimeStart);

    void removeOldData();

    void updateOnlineStatus();

    /**
     * 1 model的数据 2 主播的数据
     * @param activeChatTimeStart
     * @param type
     */
//    void updateActiveChats(String activeChatTimeStart,Integer type);

    /**
     * 首页
     * @param userCode
     * @param limitNum
     * @return
     */
    List<TrafficModelPoolEntity> queryTrafficHPIssueUsers(String userCode, int limitNum);
}